home *** CD-ROM | disk | FTP | other *** search
- gMaxWidth=max(
- zstring_width(zstring: '$$$/Dialogs/JSPrefs/Font'),
- zstring_width(zstring: '$$$/Dialogs/JSPrefs/FontSize'));
-
- dialog(name: '$$$/Dialogs/JSPrefs', margin_height: 0, margin_width: 0, first_tab: 'enab')
- {
- view(align_children: align_left, dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth)
- {
- cluster(name: '$$$/Dialogs/JSPrefs/General', dwidth: gPrefsPanelWidth, align_children: align_left)
- {
- check_box(item_id: 'enab', name: '$$$/Dialogs/JSPrefs/Enable', next_tab: 'enbm');
- }
- cluster(name: '$$$/Dialogs/JSPrefs/Security', dwidth: gPrefsPanelWidth, align_children: align_left)
- {
- check_box(item_id: 'enbm', name: '$$$/Dialogs/JSPrefs/MenuItems', next_tab: 'debu');
- }
- cluster(name: '$$$/Dialogs/JSPrefs/Debugger', dwidth: gPrefsPanelWidth, align_children: align_left)
- {
- check_box(item_id: 'debu', name: '$$$/Dialogs/JSPrefs/Debug', next_tab: 'save');
- check_box(item_id: 'save', name: '$$$/Dialogs/JSPrefs/Save', next_tab: 'rad3');
- static_text(item_id: 'excp', name: '$$$/Dialogs/JSPrefs/Exception/Message');
- view(align_children: align_distribute)
- {
- gap(width: 4);
- radio(item_id: 'rad3', group_id: 'rgrp', name: '$$$/Dialogs/JSPrefs/Exception/Ignore', next_tab: 'rad4');
- radio(item_id: 'rad4', group_id: 'rgrp', name: '$$$/Dialogs/JSPrefs/Exception/Trace', next_tab: 'rad5');
- radio(item_id: 'rad5', group_id: 'rgrp', name: '$$$/Dialogs/JSPrefs/Exception/Brake', next_tab: 'inpu');
- }
- check_box(item_id: 'inpu', name: '$$$/Dialogs/JSPrefs/Input', next_tab: 'open');
- check_box(item_id: 'open', name: '$$$/Dialogs/JSPrefs/Open', next_tab: 'rad1');
- }
- cluster(name: '$$$/Dialogs/JSPrefs/Editor', dwidth: gPrefsPanelWidth, align_children: align_left)
- {
- radio(item_id: 'rad1', group_id: 'rgr1', name: '$$$/Dialogs/JSPrefs/Native', next_tab: 'rad2');
- view(align_children: align_row)
- {
- gap();
- view(align_children: align_right, width : gMaxWidth)
- {
- static_text(name: '$$$/Dialogs/JSPrefs/Font');
- }
- view(align_children: align_left)
- {
- popup(item_id: 'font', width: max_char_width() * 18, next_tab: 'fsiz');
- }
- }
- view(align_children: align_row)
- {
- gap();
- view(align_children: align_right, width : gMaxWidth)
- {
- static_text(name: '$$$/Dialogs/JSPrefs/FontSize');
- }
- view(align_children: align_left)
- {
- edit_text(item_id: 'fsiz', width: max_char_width() * 3, PopupEdit: true, numeric: true, next_tab: 'edit');
- }
- }
- radio(item_id: 'rad2', group_id: 'rgr1', name: '$$$/Dialogs/JSPrefs/External', next_tab: 'font');
- view(align_children: align_row)
- {
- gap(width: 8);
- edit_text(item_id: 'edit', width: max_char_width() * 25, next_tab: 'bttn', next_tab: 'bttn');
- button(item_id: 'bttn', width: 5, name: '$$$/Dialogs/JSPrefs/Path');
- }
- }
- }
- }
-